package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Role;

/**
 * 角色服务接口
 */
public interface RoleService {

    public PageResult findPage(QueryPageBean queryPageBean);

    public Role findById(int id);

    public void add(Role role,Integer[] permissionIds);

    public void edit(Role role , Integer[] permissionIds);

    public void deleteById(Integer roleId);
}
